from zkl_aiutils_datasets import DelegatingDataset, DirectoryDatasets, ZippedDataset, \
    load_dataset_by_scripting_from_itself
from zkl_pyutils_fsspec import FsLike


class OmicsDataset(DirectoryDatasets, DelegatingDataset):
    def __init__(self, fs: FsLike):
        DirectoryDatasets.__init__(self, fs, load_dataset_by_scripting_from_itself)
        DelegatingDataset.__init__(self, ZippedDataset(self.children))


load = OmicsDataset
